import Vue from 'vue'
import { Button, form, input, formItem, container, header, aside, main, alert, steps, step } from 'element-ui';
import { menu, submenu, menuItem, breadcrumb, breadcrumbItem, card, Input, Row, Col, table, tableColumn, Switch } from 'element-ui'
import { tooltip, pagination, dialog, tag, tree, select, option, cascader, tabs, tabPane } from 'element-ui'
import { checkboxGroup, checkbox, upload, timeline, timelineItem } from 'element-ui'
import { Message, MessageBox, loading } from 'element-ui'
// 导入原型链 挂在到全局
Vue.prototype.$message = Message;
Vue.prototype.$messageBox = MessageBox.confirm;

Vue.use(Button).use(formItem).use(input).use(form).use(container).use(header).use(aside).use(main).use(Switch);
Vue.use(menu).use(submenu).use(menuItem).use(breadcrumb).use(breadcrumbItem).use(card).use(table).use(tableColumn);
Vue.use(Input).use(Row).use(Col).use(tooltip).use(pagination).use(dialog).use(tag).use(tree).use(select).use(option);
Vue.use(cascader).use(alert).use(tabs).use(tabPane).use(loading).use(steps).use(step).use(checkboxGroup).use(checkbox)
Vue.use(upload).use(timeline).use(timelineItem)